<%@ page contentType="text/html; charset=UTF-8" %>

<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
    <head>
        <title><s:text name="loginSuccess"/></title>
        <script type="text/javascript" src="../js/user.js"></script>
    </head>

    <body>
        <h2><s:property value="message"/></h2>
        <input type="button" id="loginBtn" value="Test" onclick="test()"/>
        <div id="test" style=" display:none "><s:text name="loginSuccess"/></div>
        <h3>Languages</h3>
        <ul>
            <li>
                <s:url id="url" action="HelloWorld">
                    <s:param name="request_locale">en</s:param>
                </s:url>
                <s:a href="%{url}">English</s:a>
            </li>

            <li>
                <s:url id="url" action="HelloWorld">
                    <s:param name="request_locale">es</s:param>
                </s:url>

                <s:a href="%{url}">Espanol</s:a>
            </li>

            <li>
                <s:url id="url3" action="login">
                    <s:param name="userName">Ruby2</s:param>
                </s:url>
                <s:a href="%{url3}">login</s:a>
            </li>
        </ul>
                SendMail
                <s:form action="sendMail">
                    <s:submit title="SendMail"></s:submit>
                </s:form>DelUser
                <s:form action="delUser">
                    <s:param id="userName" value="Ruby2"></s:param>
                    <s:submit title="delUser"></s:submit>
                </s:form>
    </body>
</html>

